package com.mylove.judas.yaya.entity.base;

/**
 * Created by Judas on 2018/4/25.
 */

public class ObjectResponse<T> {

    public int code;
    public String msg;
    public T data;


    public boolean isSuccess(){
        return code == 200;
    }

    public String getMessage(){
        return msg;
    }



}
